<?php
/**
 * The template for displaying Category Archive pages.
 *
 * @package Ending Credits
 */
get_header();
?>
<div class="wrapper archive-info" >
    <div class="bread-search">
        <aside>
            <?php dktm_breadcrumbs(); ?>
        </aside>
        <aside class="search">
            <?php get_template_part('searchform', "blog"); ?>
        </aside>
        <div class="clear"></div>
    </div>
    <div id="primary">
        <?php if ( have_posts() ) : ?>
        <div class="title"><h2 class="todays_title"><?php printf( __( 'Category Archives: <strong><i>%s</i></strong>', 'dktm' ), single_cat_title( '', false ) ); ?></h2></div>
        <div class="clearfix information-page">
            <?php while (have_posts()) : the_post(); ?>
                <article id="post-<?php echo the_ID(); ?>" <?php post_class(); ?>>
                    <a href="<?php echo the_permalink(); ?>">
                        <h1 class="entry-title"><?php the_title(); ?></h1>
                        <div class="imager"><?php get_thumbnail('thumb-small'); ?></div>
                        <h3><?php ec_posted_on(); ?></h3>
                        <div class="entry-content">
    <?php the_excerpt(); ?>
                        </div>
                    </a>
                </article>
    <?php
endwhile;
?>
        </div>
        <?php else : ?>
			<?php get_template_part( 'content', 'none' ); ?>
		<?php endif; ?>
    </div><!-- #primary -->
<?php get_sidebar('blog'); ?>
    <div class="clear"></div>
</div>

    <?php get_footer(); ?>